package com.future.mayi.model;

import java.util.List;

public class GoodsDetailModel {

    private IndexTimeModel timeModel;
    private int timeTag;

    private String image;
    private String goods_name;
    private String subtitle;
    private int goods_id;
    private double price;
    private double rebate_price;
    private int sales;
    private int stock;
    private int is_sales;
    private int is_recom;
    private int is_new;
    private int is_pack;


    private String main_img;
    private String content;
    private int sales_initial;
    private int sales_actual;
    private String goods_status;
    private String main_video;
    private String detail_video;
    private String main_video_img;
    private String detail_video_img;
    private double goods_price;
    private double line_price;
    private double post_fee;
    private String post_fee_city;
    private double max_rebate_price;
    private double min_rebate_price;
    private int goods_sales;
    private List<String> imgs_url;


    //暂加
    private long remainSecond;
    //暂加
    private long thisTime;


    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getGoods_name() {
        return goods_name;
    }

    public void setGoods_name(String goods_name) {
        this.goods_name = goods_name;
    }

    public String getSubtitle() {
        return subtitle;
    }

    public void setSubtitle(String subtitle) {
        this.subtitle = subtitle;
    }

    public int getGoods_id() {
        return goods_id;
    }

    public void setGoods_id(int goods_id) {
        this.goods_id = goods_id;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getSales() {
        return sales;
    }

    public void setSales(int sales) {
        this.sales = sales;
    }

    public int getIs_sales() {
        return is_sales;
    }

    public void setIs_sales(int is_sales) {
        this.is_sales = is_sales;
    }

    public int getIs_recom() {
        return is_recom;
    }

    public void setIs_recom(int is_recom) {
        this.is_recom = is_recom;
    }

    public String getMain_img() {
        return main_img;
    }

    public void setMain_img(String main_img) {
        this.main_img = main_img;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getSales_initial() {
        return sales_initial;
    }

    public void setSales_initial(int sales_initial) {
        this.sales_initial = sales_initial;
    }

    public int getSales_actual() {
        return sales_actual;
    }

    public void setSales_actual(int sales_actual) {
        this.sales_actual = sales_actual;
    }

    public String getGoods_status() {
        return goods_status;
    }

    public void setGoods_status(String goods_status) {
        this.goods_status = goods_status;
    }

    public double getGoods_price() {
        return goods_price;
    }

    public void setGoods_price(double goods_price) {
        this.goods_price = goods_price;
    }

    public double getLine_price() {
        return line_price;
    }

    public void setLine_price(double line_price) {
        this.line_price = line_price;
    }

    public int getGoods_sales() {
        return goods_sales;
    }

    public void setGoods_sales(int goods_sales) {
        this.goods_sales = goods_sales;
    }

    public List<String> getImgs_url() {
        return imgs_url;
    }

    public void setImgs_url(List<String> imgs_url) {
        this.imgs_url = imgs_url;
    }



    public double getPost_fee() {
        return post_fee;
    }

    public void setPost_fee(double post_fee) {
        this.post_fee = post_fee;
    }

    public int getStock() {
        return stock;
    }

    public void setStock(int stock) {
        this.stock = stock;
    }

    public IndexTimeModel getTimeModel() {
        return timeModel;
    }

    public void setTimeModel(IndexTimeModel timeModel) {
        this.timeModel = timeModel;
    }

    public int getTimeTag() {
        return timeTag;
    }

    public void setTimeTag(int timeTag) {
        this.timeTag = timeTag;
    }

    public int getIs_new() {
        return is_new;
    }

    public void setIs_new(int is_new) {
        this.is_new = is_new;
    }

    public long getRemainSecond() {
        return remainSecond;
    }

    public void setRemainSecond(long remainSecond) {
        this.remainSecond = remainSecond;
    }

    public long getThisTime() {
        return thisTime;
    }

    public void setThisTime(long thisTime) {
        this.thisTime = thisTime;
    }

    public String getMain_video() {
        return main_video;
    }

    public void setMain_video(String main_video) {
        this.main_video = main_video;
    }

    public String getDetail_video() {
        return detail_video;
    }

    public void setDetail_video(String detail_video) {
        this.detail_video = detail_video;
    }

    public String getMain_video_img() {
        if (main_video_img == null) return getMain_video();
        return main_video_img;
    }

    public void setMain_video_img(String main_video_img) {
        this.main_video_img = main_video_img;
    }

    public String getDetail_video_img() {
        if (detail_video_img == null) return getDetail_video();
        return detail_video_img;
    }

    public void setDetail_video_img(String detail_video_img) {
        this.detail_video_img = detail_video_img;
    }

    public String getPost_fee_city() {
        return post_fee_city;
    }

    public void setPost_fee_city(String post_fee_city) {
        this.post_fee_city = post_fee_city;
    }

    public int getIs_pack() {
        return is_pack;
    }

    public void setIs_pack(int is_pack) {
        this.is_pack = is_pack;
    }

    public double getRebate_price() {
        return rebate_price;
    }

    public void setRebate_price(double rebate_price) {
        this.rebate_price = rebate_price;
    }

    public double getMax_rebate_price() {
        return max_rebate_price;
    }

    public void setMax_rebate_price(double max_rebate_price) {
        this.max_rebate_price = max_rebate_price;
    }

    public double getMin_rebate_price() {
        return min_rebate_price;
    }

    public void setMin_rebate_price(double min_rebate_price) {
        this.min_rebate_price = min_rebate_price;
    }
}
